class RegistroDeCandidatos
  #singleton!
  @@instance = nil

  def self.instance
     @@instance = @@instance || new
  end

  def initialize
    @registro = {:docentes => [], :graduados => [], :alumnos => []}
  end

  def candidatos(claustro)
    @registro[claustro]
  end

  def agregar_candidato(claustro,candidato)
    @registro[claustro] << candidato
  end

  private
  
  def self.new
    super
  end

end
